package com.ruoyi.project.system.newfunction.mapper;

import com.ruoyi.project.system.newfunction.domain.Depts;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptsMapper {

    List<Depts> findAll(Depts depts);
    int addDepts(Depts depts);
    int getLastDeptsId();
    Depts getDeptsByDeptsId(Integer deptsId);
    int updateDepts(Depts depts);
    int removeDepts(Long [] deptsIds);
}
